package shape;

/**
 * @author Zach Turk
 */

import javax.media.opengl.*;

import main.SceneGraphNode;

public class Square extends SceneGraphNode implements Shape {
	public Square() {
		super(true);
	}
	
	public Square(boolean pickable) {
		super(pickable);
	}
		
	public void renderGeometry(GLAutoDrawable drawable) {
		GL2 gl = drawable.getGL().getGL2();
		gl.glRectd(-.5, -.5, .5, .5);
	}
}
